package com.softtown.modules.sys.dao;

import com.softtown.common.dao.BaseDao;
import com.softtown.modules.sys.entity.SysCompMenuEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 公司菜单
 *
 * @author Dingyayong
 * @version v1.0
 * @create 2019-05-23 16:16
 **/
@Mapper
public interface SysCompMenuDao extends BaseDao<SysCompMenuEntity> {

    /**
    * 获取app应用
    * @param  id
    * @param  type
    * @return List<SysCompMemuEntity>
    * @author Dingyayong
    * @date 2019-05-23 17:00
    */
    List<SysCompMenuEntity> getMenuAppListByCompanyId(@Param("id") Long id, @Param("type") Integer type);
}

